|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.germinus.easyconf.jmx.ComponentConfigurationDynamicMBean
MBean wrapper for a ComponentConfiguration. View Source
| Field Summary | |
static java.lang.String |
NEW_PROPERTY_OPERATION_NAME
Name of the newProperty operations. |
static java.lang.String[] |
NEW_PROPERTY_OPERATION_SIGNATURE_1
Signature of the newProperty operation with one parameter. |
static java.lang.String[] |
NEW_PROPERTY_OPERATION_SIGNATURE_2
Signature of the newProperty operation with two parameters. |
static java.lang.String |
RELOAD_OPERATION_NAME
Name of the reloadConfiguration operation. |
static java.lang.String[] |
RELOAD_OPERATION_SIGNATURE
Signature of the reloadConfiguration operation. |
| Constructor Summary | |
ComponentConfigurationDynamicMBean(ComponentConfiguration component)
Create a MBean wraping some loaded ComponentConfiguration |
|
ComponentConfigurationDynamicMBean(java.lang.String componentName)
Loads and wraps a ComponentConfiguration |
|
| Method Summary | |
java.lang.Object |
getAttribute(java.lang.String attributeName)
Obtains the component attributes from the ComponentCongiguration |
protected javax.management.MBeanAttributeInfo[] |
getAttributeInfo()
Constructs the info of the MBean's attributes. |
javax.management.AttributeList |
getAttributes(java.lang.String[] attributesNames)
List named attributes |
protected ComponentConfiguration |
getComponentConfiguration()
Returns the ComponentConfiguration associated with this MBean. |
protected javax.management.MBeanConstructorInfo[] |
getConsturctorsInfo()
Constructs an array of the MBean's constructors. |
javax.management.MBeanInfo |
getMBeanInfo()
Return the Information exposed by the MBean: Attributes, Operations, Constructors and Notifications. |
protected javax.management.MBeanOperationInfo[] |
getOperationInfo()
Constructs the info of the MBean's operations. |
java.lang.Object |
invoke(java.lang.String operationName,
java.lang.Object[] params,
java.lang.String[] signature)
Invoke one of the operations exposed by the MBeanas. |
void |
setAttribute(javax.management.Attribute attribute)
Sets an attribute |
javax.management.AttributeList |
setAttributes(javax.management.AttributeList attributes)
Set named attributes |
protected void |
setComponentConfiguration(ComponentConfiguration componentConfiguration)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String RELOAD_OPERATION_NAME
invoke method.
public static final java.lang.String NEW_PROPERTY_OPERATION_NAME
invoke method.
public static final java.lang.String[] RELOAD_OPERATION_SIGNATURE
invoke method.
public static final java.lang.String[] NEW_PROPERTY_OPERATION_SIGNATURE_1
invoke method.
public static final java.lang.String[] NEW_PROPERTY_OPERATION_SIGNATURE_2
invoke method.
| Constructor Detail |
public ComponentConfigurationDynamicMBean(ComponentConfiguration component)
component - public ComponentConfigurationDynamicMBean(java.lang.String componentName)
componentName - | Method Detail |
public java.lang.Object getAttribute(java.lang.String attributeName)
throws javax.management.AttributeNotFoundException,
javax.management.MBeanException,
javax.management.ReflectionException
getAttribute in interface javax.management.DynamicMBeanjavax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionExceptionDynamicMBean.getAttribute(java.lang.String)
public void setAttribute(javax.management.Attribute attribute)
throws javax.management.AttributeNotFoundException,
javax.management.InvalidAttributeValueException,
javax.management.MBeanException,
javax.management.ReflectionException
setAttribute in interface javax.management.DynamicMBeanjavax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionExceptionDynamicMBean.setAttribute(javax.management.Attribute)public javax.management.AttributeList getAttributes(java.lang.String[] attributesNames)
getAttributes in interface javax.management.DynamicMBeanDynamicMBean.getAttributes(java.lang.String[])public javax.management.AttributeList setAttributes(javax.management.AttributeList attributes)
setAttributes in interface javax.management.DynamicMBeanDynamicMBean.setAttributes(javax.management.AttributeList)
public java.lang.Object invoke(java.lang.String operationName,
java.lang.Object[] params,
java.lang.String[] signature)
throws javax.management.MBeanException,
javax.management.ReflectionException
void newProperty(String propertyName)void newProperty(String propertyName, String initialValue)
void reloadConfiguration()
invoke in interface javax.management.DynamicMBeanjavax.management.MBeanException
javax.management.ReflectionExceptionDynamicMBean.invoke(java.lang.String,
java.lang.Object[], java.lang.String[])public javax.management.MBeanInfo getMBeanInfo()
getMBeanInfo in interface javax.management.DynamicMBeanDynamicMBean.getMBeanInfo()protected javax.management.MBeanAttributeInfo[] getAttributeInfo()
protected javax.management.MBeanOperationInfo[] getOperationInfo()
protected javax.management.MBeanConstructorInfo[] getConsturctorsInfo()
protected ComponentConfiguration getComponentConfiguration()
protected void setComponentConfiguration(ComponentConfiguration componentConfiguration)
componentConfiguration - The componentConfiguration to set.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||